﻿using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using MyEventClient.Event;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyEventClient.Service
{
    public interface IBookEventService
    {
        Task SaveEventAndChangesAsync(IntegrationEvent evt);
        Task PublishThroughEventBusAsync(IntegrationEvent evt);

    }
}
